package com.wtwd.campus.jdzc.service.impl;

import com.wtwd.campus.jdzc.dao.JdzcUserStudentPermissionMapper;
import com.wtwd.campus.jdzc.service.JdzcUserStudentPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author mjy
 * @date 2022/02/15
 * @description
 */
@Service
public class JdzcUserStudentPermissionServiceImpl implements JdzcUserStudentPermissionService {


    @Autowired
    private JdzcUserStudentPermissionMapper jdzcUserStudentPermissionMapper;


    @Override
    public Map<String, Object> getBindingByStuIdAndUserId(Integer stuId, Integer userId) {
        return jdzcUserStudentPermissionMapper.getBindingByStuIdAndUserId(stuId,userId);
    }
}
